﻿using System;
using UnityEngine;

namespace Valve.VR.InteractionSystem
{
	// Token: 0x020005FF RID: 1535
	public class DebugUI : MonoBehaviour
	{
		// Token: 0x170004C1 RID: 1217
		// (get) Token: 0x06002716 RID: 10006 RVA: 0x000E45D0 File Offset: 0x000E27D0
		public static DebugUI instance
		{
			get
			{
				if (DebugUI._instance == null)
				{
					DebugUI._instance = UnityEngine.Object.FindObjectOfType<DebugUI>();
				}
				return DebugUI._instance;
			}
		}

		// Token: 0x06002717 RID: 10007 RVA: 0x000E45F4 File Offset: 0x000E27F4
		private void Start()
		{
			this.player = Player.instance;
		}

		// Token: 0x06002718 RID: 10008 RVA: 0x000E4604 File Offset: 0x000E2804
		private void OnGUI()
		{
			this.player.Draw2DDebug();
		}

		// Token: 0x0400271E RID: 10014
		private Player player;

		// Token: 0x0400271F RID: 10015
		private static DebugUI _instance;
	}
}
